package com.kaaction.common.utils;

import com.qiniu.util.Auth;

public class QiniuUtils {
	private static final String ACCESS_KEY = "wklWur3MW4xPBqvPoSgvArkQ_1QDo_ZXUx-gyw76";
    private static final String SECRET_KEY = "ImuFNvds-ZaazvAtuz-Lbch1HwCbe7jvNynIM-DN";
    private static final String BUCKET_NAME = "kaacloud";
    private static final String CLOUD_DOMAIN = "http://oom13tl47.bkt.clouddn.com/";
 
    public static String getToken() {
        Auth auth = Auth.create(ACCESS_KEY, SECRET_KEY);
        String upToken = auth.uploadToken(BUCKET_NAME);
        return upToken;
    }
    
    public static String getCloudDomain(){
    	return CLOUD_DOMAIN;
    }
 
}
